package com.yl.auth.mapper;

import com.yl.auth.entity.Yaopin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yl
 * @since 2023-06-16
 */
public interface YaopinMapper extends BaseMapper<Yaopin> {

    @Select("SELECT * FROM yaopin ORDER BY id DESC LIMIT 1;")
    Yaopin getzuixin();
}
